
<%@ page import="org.ikastola.PaymentCheck" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'paymentCheck.label', default: 'PaymentCheck')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-paymentCheck" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
<%--				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>--%>
			</ul>
		</div>
		<div id="show-paymentCheck" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list paymentCheck">
			
				<g:if test="${paymentCheckInstance?.number}">
				<li class="fieldcontain">
					<span id="number-label" class="property-label"><g:message code="paymentCheck.number.label" default="Number" /></span>
					
						<span class="property-value" aria-labelledby="number-label"><g:fieldValue bean="${paymentCheckInstance}" field="number"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.bank}">
				<li class="fieldcontain">
					<span id="bank-label" class="property-label"><g:message code="paymentCheck.bank.label" default="Bank" /></span>
					
						<span class="property-value" aria-labelledby="bank-label"><g:fieldValue bean="${paymentCheckInstance}" field="bank"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.amount}">
				<li class="fieldcontain">
					<span id="amount-label" class="property-label"><g:message code="paymentCheck.amount.label" default="Amount" /></span>
					
						<span class="property-value" aria-labelledby="amount-label"><g:fieldValue bean="${paymentCheckInstance}" field="amount"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.checkdate}">
				<li class="fieldcontain">
					<span id="checkdate-label" class="property-label"><g:message code="paymentCheck.checkdate.label" default="Checkdate" /></span>
					
						<span class="property-value" aria-labelledby="checkdate-label"><g:formatDate date="${paymentCheckInstance?.checkdate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.paydate}">
				<li class="fieldcontain">
					<span id="paydate-label" class="property-label"><g:message code="paymentCheck.paydate.label" default="Paydate" /></span>
					
						<span class="property-value" aria-labelledby="paydate-label"><g:formatDate date="${paymentCheckInstance?.paydate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.mode}">
				<li class="fieldcontain">
					<span id="mode-label" class="property-label"><g:message code="paymentCheck.mode.label" default="Mode" /></span>
						<span class="property-value" aria-labelledby="mode-label">
						<g:if test="${ikastola.Constants.IMMEDIATE_CHECK.equals(paymentCheckInstance?.mode)}">
							Inmediato
						</g:if>
						<g:elseif test="${'2'.equals(paymentCheckInstance?.mode)}">
							A 30 d&iacute;as
						</g:elseif>
						<g:elseif test="${'3'.equals(paymentCheckInstance?.mode)}">
							A 60 d&iacute;as
						</g:elseif>	
						<g:else>
							A 90 d&iacute;as
						</g:else>
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.owner}">
				<li class="fieldcontain">
					<span id="owner-label" class="property-label"><g:message code="paymentCheck.owner.label" default="Owner" /></span>
					
						<span class="property-value" aria-labelledby="owner-label"><g:fieldValue bean="${paymentCheckInstance}" field="owner"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${paymentCheckInstance?.account}">
				<li class="fieldcontain">
					<span id="account-label" class="property-label"><g:message code="paymentCheck.account.label" default="Account" /></span>
					
						<span class="property-value" aria-labelledby="account-label"><g:fieldValue bean="${paymentCheckInstance}" field="account"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
<%--					<g:hiddenField name="id" value="${paymentCheckInstance?.id}" />--%>
<%--					<g:link class="edit" action="edit" id="${paymentCheckInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>--%>
<%--					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />--%>
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
